import fetch from '@/utils/fetch';

export const queryUrl = (data) => {
  return fetch({
    url: '/web-admin/errorCorrec/queryUrl',
    method: 'POST',
    data,
  });
};

export const updateUrl = (data) => {
  return fetch({
    url: '/web-admin/errorCorrec/updateUrl',
    method: 'POST',
    data,
  });
};

export const deleteErrUrl = (data) => {
  return fetch({
    url: '/web-admin/errorCorrec/deleteErrUrl',
    method: 'POST',
    data,
  });
};
